package com.gmadmin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gmadmin.entity.MessageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangliang
 * @version 1.0
 * @date 2022/8/4 11:35
 */
@Mapper
public interface MessageInfoMapper extends BaseMapper<MessageInfo> {

   /**
    * 根据msgIds查询消息详情
    * @param msgIds ids
    * @return list
    */
    List<MessageInfo> findInfoByMsgId(@Param("msgIds") List<Long> msgIds);
}
